home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-09-11 | 650 b | 30 lines | [TEXT/PJMM] |
- unit Debugs;
-
- interface
-
- procedure DebugRect (s: str255; r: rect);
- procedure DebugNum (s: str255; l: longint);
-
- implementation
-
- procedure DebugRect (s: str255; r: rect);
- var
- topstr, leftstr, rightstr, bottomstr: str255;
- begin
- NumToString(r.top, topstr);
- NumToString(r.left, leftstr);
- NumToString(r.bottom, bottomstr);
- NumToString(r.right, rightstr);
- DebugStr(s);
- DebugStr(concat('top : ', topstr, ', left : ', leftstr, ', bottom : ', bottomstr, ', right : ', rightstr, ' .'));
- end;
-
- procedure DebugNum (s: str255; l: longint);
- var
- numstr: str255;
- begin
- NumToString(l, numstr);
- DebugStr(concat(s, numstr));
- end;
-
- end.